package com.hdoit.ares.logical.official.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.tennetcn.common.message.ModelBase;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年03月10日 15:40:17
 * @comment
 */
@Entity
@Table(name="praise_glance")
public class PraiseAndGlance extends ModelBase{
    //主键id
    @Id
    @Column(name="id")
    private String id;

    //类型
    @Column(name="type")
    private String type;

    //文章、视频或者评论的id
    @Column(name="receiveId")
    private String receiveId;

    //点赞次数
    @Column(name="praiseCount")
    private int praiseCount;

    //浏览次数
    @Column(name="glanceCount")
    private int glanceCount;

    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getType(){
        return this.type;
    }
    public void setType(String type){
         this.type=type;
    }

    public String getReceiveId(){
        return this.receiveId;
    }
    public void setReceiveId(String receiveId){
         this.receiveId=receiveId;
    }

    public int getPraiseCount(){
        return this.praiseCount;
    }
    public void setPraiseCount(int praiseCount){
         this.praiseCount=praiseCount;
    }

    public int getGlanceCount(){
        return this.glanceCount;
    }
    public void setGlanceCount(int glanceCount){
         this.glanceCount=glanceCount;
    }

}